package cn.tedu.jewelry.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class UserAddressStandVO implements Serializable {
    /**
     * ApiModelProperty：响应结果的说明
     * value：变量的含义
     * example：示例
     * required：是否必填
     * position：返回数据的显示排序位置
     */

    @ApiModelProperty(value = "id",example = "1",required = false)
    private Long id;

    @ApiModelProperty(value = "userId",example = "1",required = false)
    private Long userId;

    @ApiModelProperty(value = "联系人",example = "黎钊",required = false)
    private String contactName;

    @ApiModelProperty(value = "电话",example = "18177201890",required = false)
    private String phone;

    @ApiModelProperty(value = "地址",example = "广西柳州",required = false)
    private String address;

    @Override
    public String toString() {
        return "UserAddress{" +
                "id=" + id +
                ", userId=" + userId +
                ", contactName='" + contactName + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
